import {
  computed,
  watch,
} from "vue";
import { useStore } from "vuex";
export function useMousePosition() {
  const store = useStore();

  const timeType = computed(() => store.state.timeType); // 右上角的时间选择
  watch(
    timeType,
    () => {
    },
    {
      immediate: true,
    }
  );

  return { timeType};
}